var ReportParamsAddPage = {
	'save': function() {
		if ($("#reportParamsAddFrm").formValidate()) {
			saveParamsAjax.send();
		}
	},
	'onSaveSucc': function(data, status, xhr) {
		$.messager.info(data.message);
		var mWindow = MsgBox.getCurrentOpenDialogWindow();
		mWindow.paramsDatatable.refresh(false);
		MsgBox.closeActiveDialog();
	},
	'onFindOneSucc': function(data, status, xhr) {
		$("#reportParamsAddFrm").autofill(data.info, {
			'clearHidden': false,
			'clearForm': false
		});
	}
};